<template>
  <page-header-wrapper>
    <a-card :bordered="false">
      <a-descriptions :title="'* 如需修改请' + (user.status === 4 ? '跳转至系统管理' : '联系管理员')" :column="4">
        <a-descriptions-item label="工号">{{user.number}}</a-descriptions-item>
        <a-descriptions-item label="姓名">{{user.name}}</a-descriptions-item>
        <a-descriptions-item label="身份">{{user.title}}</a-descriptions-item>
        <a-descriptions-item label="手机">{{user.phone}}</a-descriptions-item>
      </a-descriptions>
    </a-card>
  </page-header-wrapper>
</template>

<script>
  import store from '@/system/store'

export default {
  data () {
    return {
    }
  },
  computed: {
    user () {
      return store.user
    }
  }

}
</script>

<style lang="less" scoped>
  .title {
    color: rgba(0,0,0,.85);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
  }
</style>
